# Template file for 'codelite'
pkgname=codelite
version=10.0
revision=1
build_style=cmake
configure_args="-DENABLE_CLANG=1 -DENABLE_LLDB=1 -DWITH_MYSQL=1"
hostmakedepends="pkg-config clang"
makedepends="wxWidgets-devel libmariadbclient-devel sqlite-devel libssh-devel
gtk+-devel"
short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
homepage="http://www.codelite.org"
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz"
checksum=e345b819061a178a0404be2333a68017b7cc288cc673378a08418fe2d130534b

only_for_archs="i686 x86_64"
nopie=yes

pre_configure() {
	sed -i 's,wx-config,&-3.0,g' CMakeLists.txt
}

post_install() {
	vlicense LICENSE
}
