# Template file for 'mg'
pkgname=mg
version=20110905
makedepends="ncurses-devel"
homepage="http://homepage.boetes.org/software/mg"
distfiles="$homepage/mg-$version.tar.gz"
revision=1
short_desc="Micro GNU/emacs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public Domain"
checksum=1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229
long_desc="
 mg is Micro GNU/emacs, this is a portable version of the mg maintained
 by the OpenBSD team."

do_build() {
	./configure && make ${makejobs}
}

do_install() {
	vinstall mg 755 usr/bin
	vinstall mg.1 644 usr/share/man/man1
}
