# Template file for 'ii'
pkgname=ii
version=1.7
revision=1
short_desc="Minimalist FIFO IRC client"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://tools.suckless.org/ii"
distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz"
checksum=3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c

do_build() {
	sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
	make CC=$CC
}

do_install() {
	make PREFIX=/usr DESTDIR=$DESTDIR install
	vinstall LICENSE 644 usr/share/licenses/$pkgname
}

ii_package() {
	pkg_install() {
		vmove usr
	}
}
