# Template file for 'ncdu2'
pkgname=ncdu2
version=2.6
revision=1
build_style=zig-build
configure_args="-Dpie"
hostmakedepends="pkg-config"
makedepends="libzstd-devel ncurses-devel"
short_desc="NCurses Disk Usage utility version 2"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://dev.yorhel.nl/ncdu"
changelog="https://dev.yorhel.nl/ncdu/changes2"
distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
checksum=3f471ebd38b56e60dab80c27e3af1d826666957f02d9e8419b149daaf7ade505
conflicts="ncdu"

post_install() {
	vlicense LICENSES/MIT.txt
	vman ncdu.1
}
