# Maintainer: Luis Henrique <lmello.009@gmail.com>
# Former Maintainer(s): Former Maintainer <email@address.com>

# Mandatory
pkgname=ht
pkgver=2.0.18
pkgrel=1lm
source=("http://downloads.sourceforge.net/hte/ht-2.0.18.tar.bz2")
# Optional
docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "KNOWNBUGS" "NEWS" "README" "TODO")
url="http://hte.sourceforge.net/"
 
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"ht (Hex editor and debugger)"
"HT is a file editor/viewer/analyzer for executables. The goal is to"
"combine the low-level functionality of a debugger and the usability"
"of IDEs. We plan to implement all (hex-)editing features and support"
"of the most important file formats."
""
"HT is distributed under the terms of the GPL."
)

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure \
          --prefix=/usr \
          --libdir=/usr/lib${LIBDIRSUFFIX} \
          --sysconfdir=/etc \
          --localstatedir=/var \
          --mandir=/usr/man \
          --docdir=/usr/doc/$pkgname-$pkgver \
          --build=$arch-slackware-linux \
          --enable-x11-textmode=no
          --enable-release=yes
        make || return 1
        make DESTDIR=$startdir/pkg install
}