# Template file for 'cv'
pkgname=cv
version=0.7.1
revision=1
maintainer="Dominik Honnef <dominik@honnef.co>"
makedepends="ncurses-devel"
license="GPL-3"
homepage="https://github.com/Xfennec/cv"
short_desc="Tool for showing the progress of cp, rm, dd and more"
distfiles="https://github.com/Xfennec/cv/archive/v${version}.tar.gz"
checksum=c8ab81b09f6026cbfdc94c9453d4a0fad7ea5e1e34efd1c1559f88f7398cf4ee

do_build() {
	$CC $CFLAGS -D_FILE_OFFSET_BITS=64 cv.c sizes.c hlist.c -o cv -lncurses -lm
}

do_install() {
	vbin cv
	vman cv.1
}
