# Template file for 'ii'
pkgname=ii
version=1.9
revision=1
build_style=gnu-makefile
make_build_args="INCLUDES=-I. LIBS="
short_desc="Minimalist FIFO IRC client"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://tools.suckless.org/ii"
distfiles="https://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
checksum=850cb323b583d261b51bda9993ee733334352a8e6ca1e2f02b57c154bf568c17

pre_build() {
	sed -i 's| -O0||g' config.mk
	sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
	sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
	sed -i 's|^LIBS *=|override LIBS +=|g' config.mk
}

post_install() {
	vlicense LICENSE
}
