# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

pkgname=minimodem
pkgver=0.24
pkgrel=2
pkgdesc="Minimodem is a command-line program which decodes (or generates) audio modem tones at any specified baud rate, using various framing protocols."
arch=('i686' 'x86_64' 'armv7h')
url="http://www.whence.com/minimodem/"
license=('GPL3')
depends=('fftw' 'alsa-lib' 'libpulse' 'libsndfile')
makedepends=('gcc')
source=("http://www.whence.com/minimodem/$pkgname-$pkgver.tar.gz")
sha512sums=('5c3a5e6f185d4b09c5f24d776393f2e2d5d787c097c44490905119513b9b39db53b7f2f7e624a4b527e8e8e827a5b99af6b0df5ca525046f60b49fe9ba2b0ceb')

build() {
  cd $pkgname-$pkgver
	./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin
	make
}

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