# Contributor (Arch): Javier ‘Phrodo_00’ Aravena <Phrodo.00@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=cgdb
pkgver=0.6.6
pkgrel=1
pkgdesc="Curses-based interface to the GNU Debugger"
arch=('i686' 'x86_64' 'mips64el')
url="http://cgdb.sourceforge.net/"
license=('GPL')
depends=('readline>=5.1' 'ncurses' 'gdb')
source=("http://downloads.sourceforge.net/cgdb/$pkgname-$pkgver.tar.gz")
md5sums=('394b542b495755ab8392b7e88dace744')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}
md5sums=('394b542b495755ab8392b7e88dace744')