# Template build file for 'libXcursor'.
pkgname=libXcursor
version=1.1.14
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="fixesproto>=5.0_1 libXfixes-devel libXrender-devel"
short_desc="Client-side cursor loading library for X"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/wiki/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df
long_desc="
 This package, libXcursor, provides the client-side cursor loading
 library for X. This cursor management library is a simple library
 designed to help locate and load cursors (from files or memory)."

libXcursor-devel_package() {
	depends="xproto libXcursor>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove usr/lib/pkgconfig
		vmove usr/share
	}
}

libXcursor_package() {
	pkg_install() {
		vmove usr
	}
}
