# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Paul Mattal <pjmattal@elys.com>

pkgname=hexedit
pkgver=1.5
pkgrel=1
pkgdesc="View and edit files in hexadecimal or in ASCII"
arch=('x86_64')
url="http://rigaux.org/hexedit.html"
license=('GPL')
depends=('ncurses')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pixel/hexedit/archive/${pkgver}.tar.gz")
sha256sums=('27a2349f659e995d7731ad672450f61a2e950330049a6fb59b77490c5e0015ac')

build() {
  cd "${pkgname}-${pkgver}"
  ./autogen.sh
  ./configure
  make
}

package() {
  cd "${pkgname}-${pkgver}"
  make prefix="${pkgdir}/usr" install
}
