# Template file for 'libICE'
pkgname=libICE
version=1.0.10
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros xtrans"
makedepends="xtrans xorgproto"
short_desc="Inter Client Exchange (ICE) library for X"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=6f86dce12cf4bcaf5c37dddd8b1b64ed2ddf1ef7b218f22b9942595fb747c348

pre_configure() {
	autoreconf -fi
}

post_install() {
	vlicense COPYING
}

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