# Template file for 'geany'
pkgname=geany
version=1.24
revision=2
build_style=configure
configure_args=" --prefix=/usr"
hostmakedepends="which pkg-config intltool python"
makedepends="gtk+-devel vte-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Fast and lightweight IDE"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://www.geany.org"
distfiles="http://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
checksum=51c37690fea9b7a9baaf7f9158c5d88d86ae81d44409ec0460aa0445fe0a039f

geany-plugins_package() {
	depends="geany>=$version"
	short_desc+=" - builtin plugins"
	pkg_install() {
        	vmove usr/lib/geany
	}
}

geany-devel_package() {
	depends="gtk+-devel"
	short_desc+=" - Development files"
	pkg_install() {
        	vmove usr/include
        	vmove usr/lib/pkgconfig
	}
}