# Template file for 'smem'
pkgname=smem
version=1.4
revision=1
depends="python"
short_desc="Memory reporting tool"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="GPL-2"
homepage="https://www.selenic.com/smem"
distfiles="https://www.selenic.com/smem/download/${pkgname}-${version}.tar.gz"
checksum=2ea9f878f4cf3c276774c3f7e2a41977a1f2d64f98d2dcb6a15f1f3d84df61ec

do_build() {
	$CC $CFLAGS $LDFLAGS -o smemcap smemcap.c
}

do_install() {
	vbin smem
	vbin smemcap
	vman smem.8
}
