# Template build file for 'libxkbui'.
pkgname=libxkbui
version=1.0.2
revision=8
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXt-devel libxkbfile-devel"
short_desc="xkbui library from X.org"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="${XORG_SITE}"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=20c23101d63234ee5f6d696dfa069b29c6c58e39eff433bcd7705b50b3ffa214

post_install() {
	vlicense COPYING
}

libxkbui-devel_package() {
	depends="libxkbui>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
