# Template file for 'caribou'
pkgname=caribou
version=0.4.4
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 libgee-devel pygobject-devel>=3.2.2_2
clutter-devel gtk+3-devel libXtst-devel"
fulldepends="pyatspi dbus-python pygobject>=3.2.2_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=823c53afec88d43f06ddce63e0d1aac79d783f498502a0617d8be0cffc6a7de2
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
}
