# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=yascreen
pkgver=1.99
pkgrel=0
pkgdesc="yet another screen library (lib(n)curses alternative)"
url="https://github.com/bbonev/yascreen"
license="GPL-3.0-or-later"
arch="all"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="go-md2man"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/bbonev/yascreen/archive/v$pkgver.tar.gz
	fix-makefile.patch"

build() {
	make PREFIX=/usr
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
8d25e0dc8fc19477f7fb405421034eda6b08af78dc6313676c51f1bd7c233767298dae7c8d05572320e004853040af035683f9f378cd9913f65956ac7cf64cb6  yascreen-1.99.tar.gz
11a549b11846309af8903220d113f3df9cc3f745f93f47e17e8a1cc9993ab1ef3509cc850f0057e04725e6b1de6faf52397d543c04e912cef2192c8bd53e97bc  fix-makefile.patch
"
