# Template file for 'geany'
pkgname=geany
version=1.24.1
revision=3
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="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.geany.org"
distfiles="http://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
checksum=7fb505d9b01fe6874890525f837644a6a38c23a372bb068c65ef3673108a8c33

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
	}
}
