APP=libxpm
VERSION=3.5.13
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXpm-3.5.13.tar.bz2"
DESC="X11 pixmap library"
REQUIRES="libxext libxt "

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
28a4f26e125e9d3b9b9c381449182b977a1b7904a57b064ecc7335532566beb48b983b23758648aeaca331e421735e62c370098d59b36b3b904425813a7dd70d  libXpm-3.5.13.tar.lz
"
