# Depends on: xcb-proto xorg-libxdmcp xorg-libxau libxslt

description="Interface to the X Window System protocol, which replaces the current Xlib interface."
url="http://xcb.freedesktop.org"
packager="tnut <tnut@nutyx.org>"
contributors="Pierre B"

name=libxcb
version=1.13.1

source=(http://xcb.freedesktop.org/dist/$name-$version.tar.bz2)

build() {
cd $name-$version

sed -e "s/pthread-stubs//" -i configure

./configure --prefix=/usr \
	    --sysconfdir=/etc \
	    --localstatedir=/var \
            --disable-static \
	    --docdir='${datadir}'/doc/libxcb-$version \
	    --enable-xinput \
            --enable-xkb
make
make DESTDIR=$PKG install
rm $PKG/usr/lib/*.la
}

