NAME="xtrans"
DESC="X transport interface"
VERSION="1.5.0"
FILES=("https://www.x.org/pub/individual/lib/xtrans-$VERSION.tar.xz")
HASHES=("12344cd74a1eb25436ca6e6a2cf93097")
DEPENDS=()

PACKAGE() {
  tar xf $NAME-$VERSION.tar.xz
  cd $NAME-$VERSION

  ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --disable-static --docdir=/usr/share/doc/$NAME-$VERSION
  make && make DESTDIR=${ROOTDIR} install

  cd .. && rm -rf $NAME-$VERSION
}
