# Template build file for 'libxklavier'.
pkgname=libxklavier
version=5.3
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config gobject-introspection"
makedepends="libglib-devel libxkbfile-devel libxml2-devel>=2.7.8 libXi-devel xkeyboard-config iso-codes"
short_desc="Library providing high-level API for X Keyboard Extension"
homepage="http://freedesktop.org/wiki/Software/LibXklavier"
license="LGPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/5.3/$pkgname-$version.tar.xz"
checksum=ebec3bc54b5652838502b96223152fb1cd8fcb14ace5cb02d718fc3276bbd404
long_desc="
 libxklavier is a library providing high-level API for X Keyboard Extension
 known as XKB. This library is intended to support XFree86 and other
 commercial X servers. It is useful for creating XKB-related software
 (layout indicators etc)."

libxklavier-devel_package() {
	depends="libglib-devel libxml2-devel>=2.7.8 libxklavier>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove usr/lib/pkgconfig
	}
}

libxklavier_package() {
	depends="xkeyboard-config iso-codes"
	pkg_install() {
		vmove usr
	}
}
