APP=libxcursor
VERSION=1.2.0
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXcursor-1.2.0.tar.bz2"
DESC="X cursor management library"
REQUIRES="libxfixes libxrender "

build() {
  mkandenterbuilddir
  rm -rf libXcursor-$VERSION

  tar xf $SRCDIR/libXcursor-$VERSION.tar.?z*
  cd libXcursor-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG
 
  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
522d789f466f3f592e9e5b875daf9b6beb9b01615dd853c016e7f8f5fe982a47d13852bbe7a532cfbdbdb144a002ca3ff0e481ac04847f06a2931c151ea201d4  libXcursor-1.2.0.tar.lz
"
