# Template file for 'geany'
pkgname=geany
version=1.27
revision=1
build_style=gnu-configure
hostmakedepends="automake gettext-devel glib-devel libtool 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@voidlinux.eu>"
license="GPL-2"
homepage="http://www.geany.org"
distfiles="http://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
checksum=846ff699a5944c5c3c068ae0199d4c13946a668bfc6d03f8c79765667c20cadf

pre_configure() {
	autoreconf -fi
}

geany-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - Development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
	}
}
