# Template file for 'caribou'
pkgname=caribou
version=0.4.13
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module"
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
makedepends="
 vala-devel>=0.20 libxklavier-devel libgee08-devel pygobject-devel
 clutter-devel gtk+3-devel libXtst-devel gir-freedesktop"
depends="pygobject pyatspi dbus-python gir-freedesktop at-spi2-atk desktop-file-utils"
pycompile_module="$pkgname"
short_desc="An alternative to the Gnome On-screen Keyboard"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-3"
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
checksum=953ba618621fda8a828d0d797fc916dbe35990dc01d7aa99d15e5e2241ee2782

caribou-devel_package() {
	depends="libXtst-devel libgee08-devel libxklavier-devel gtk+3-devel libxml2-devel caribou>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/vala
		vmove "usr/lib/*.so"
	}
}
