# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=ttyplot
pkgver=1.7.0
pkgrel=0
pkgdesc="Realtime plotting utility for terminal/console with data input from stdin"
url="https://github.com/tenox7/ttyplot"
arch="all"
options="!check" # No tests
license="Apache-2.0"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tenox7/ttyplot/archive/$pkgver.tar.gz"

build() {
	make
}

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

sha512sums="
9f2a089cfa19898ca051b6b72c433c5b5d4b9d3ff19cf432c4ce4f91e34ef3bb2c6b380e01f36d9a1c4aedd1a0ea77651e67afdea1711c8c59431852b7024355  ttyplot-1.7.0.tar.gz
"
