# Description: Color AsCii Art library
# URL: http://caca.zoy.org/wiki/libcaca
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: imlib2 xorg-libx11

name=libcaca
version=0.99.beta20
release=2
source=(https://github.com/cacalabs/libcaca/releases/download/v$version/libcaca-$version.tar.bz2)

build() {
  cd $name-$version

  ./configure \
    --prefix=/usr \
    --enable-shared \
    --disable-doc \
    --disable-cxx \
    --disable-gl \
    --disable-csharp \
    --disable-python \
    --disable-slang \
    --disable-static

  make
  make DESTDIR=$PKG install
}
