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

pkgname=braincurses
pkgver=1.1.0 
pkgrel=2
pkgdesc="A version of the classic game Mastermind"
arch=('x86_64' 'i686' 'armv7h')
url="https://github.com/bderrly/braincurses"
license=('GPL2')
depends=('ncurses')
source=("https://github.com/bderrly/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('7f27512c321ca2f2c3b38a891fc4e1ab0e2371412ada827f69dc262e27abbf750861b7ab859d0d8407ba25e4814ea6c33bc36a2c8ccdeda4977fa4bebb5457cd')

build() {
	cd $pkgname-$pkgver
	make
}

package() {
	cd $pkgname-$pkgver
	install -vDm 0755 braincurses	$pkgdir/usr/bin/braincurses
}
