# Template file for 'at-spi2-atk'
pkgname=at-spi2-atk
version=2.8.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="libglib-devel atk-devel>=2.8 at-spi2-core-devel>=2.8"
short_desc="A GTK+ module that bridges ATK to D-Bus at-spi"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=eb659b94fde6dc0a2f584c9121a5e6d39a4c8aa297d21d8f9032f7a8a775fd06
long_desc="
 This package includes a gtk-module that bridges ATK to the new D-Bus based
 AT-SPI as well as C and Python client libraries.

 These libraries depend on the at-spi2-core code that contains the daemon for
 registering applications, D-Bus helper libraries and te AT-SPI D-Bus
 specifications."

at-spi2-atk-devel_package() {
	depends="libglib-devel at-spi2-core-devel ${sourcepkg}-${version}_${revision}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

at-spi2-atk_package() {
	depends="at-spi2-core>=2.8"
	pkg_install() {
		vmove usr
	}
}
