app=libxft
version=2.3.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXft-$version.tar.gz"
desc="FreeType-based font drawing library for X"
requires="fontconfig libxrender"

build() {
  mkandenterbuilddir
  rm -rf libXft-$version

  tar xf $srcdir/libXft-$version.tar.?z*
  cd libXft-$version
  fixbuilddirpermissions

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
7e5008a9a7940502f65c875dc69a2309885b0f41f5b3384de31312a7bf2922b61e616496f6d23c9466b5cb434bfbc8862c933fe5b33ae82032c312fbb097b785  libXft-2.3.3.tar.lz
"
