# Template file for 'caribou'
pkgname=caribou
version=0.4.6
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module"
makedepends="pkg-config intltool gnome-doc-utils gobject-introspection
 vala-devel libxklavier-devel libgee08-devel pygobject-devel>=3.4.2
 clutter-devel gtk+3-devel libXtst-devel"
fulldepends="pyatspi dbus-python pygobject>=3.4.2 gir-freedesktop
 at-spi2-atk desktop-file-utils"
pycompile_module="$pkgname"
subpackages="$pkgname-devel"
short_desc="An alternative to the Gnome On-screen Keyboard"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
checksum=449890d53401c15ae7118ebc8ca1eebb7f9a60ad717bca35f822d7f895142226
long_desc="
 Caribou is a text entry and UI navigation application being developed as an
 alternative to the Gnome On-screen Keyboard. The overarching goal for Caribou
 is to create a usable solution for people whose primary way of accessing a
 computer is a switch device.

 The initial goal is to make an in-place on-screen keyboard suitable for people
 who can use a mouse but not a hardware keyboard. This on-screen keyboard may
 also be useful for touch screen or tablet users."

post_install() {
	# Do not display the icon, useless.
	echo "NoDisplay=true" >> ${DESTDIR}/usr/share/applications/caribou.desktop
	echo "OnlyShowIn=GNOME;" >> ${DESTDIR}/etc/xdg/autostart/caribou-autostart.desktop
}
