description="Charset analyser and converter."
url="http://cihar.com/software/enca/"
packager="tnut <tnut@nutyx.org>"
contributors="Pierre B, Fanch V"

name=enca
release=2
version=1.19
source=(http://dl.cihar.com/${name}/${name}-${version}.tar.xz)

build() {
cd $name-$version
./configure --prefix=/usr \
              --libexecdir=/usr/lib \
              --mandir=/usr/share/man \
              --with-librecode=/usr \
              --enable-external      
make
make DESTDIR=$PKG install

rm $PKG/usr/lib/libenca.la
}
