SUMMARY="Terminal-based text editor"
DESCRIPTION="
Joe's Own Editor is a full-featured text editor with minimal requirements. \
It is fully customizable (Emacs, pico or WordStar are preset). Is also has multiple \
windows, hexadecimal edit mode for binary files or syntax highlighting for more than 40 languages. \
It also supports mouse for both text and window manipulation.
"
HOMEPAGE="http://joe-editor.sourceforge.net/"
SOURCE_URI="hg+http://joe-editor.hg.sourceforge.net:8000/hgroot/joe-editor/joe-editor"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
#CHECKSUM_MD5="66de1b073e869ba12abbfcde3885c577"
BUILD()
{
	cd joe-3.8-hg
	autojoe
	COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
		--docdir=$COMMON_DOCS/doc/joe \
		--mandir=$COMMON_DOCS/man
	make
}

INSTALL()
{
	cd joe-3.8-hg
	make install
}
LICENSE="GNU GPL v1"
COPYRIGHT="1992, 2004, 2006 Joseph H. Allen"
