easyblock = 'ConfigureMake'

name = 'Emacs'
version = '24.3'
versionsuffix = '-bare'

homepage = 'http://www.gnu.org/software/emacs/'
description = """GNU Emacs is an extensible, customizable text editor—and more.
 At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language
 with extensions to support text editing."""

toolchain = {'name': 'GCC', 'version': '4.8.3'}
toolchainopts = {}

sources = [SOURCELOWER_TAR_GZ]
source_urls = [GNU_SOURCE]

dependencies = [
    ('ncurses', '5.9'),
]

configopts = '--without-all --without-x '

sanity_check_paths = {
    'files': ["bin/emacs", "bin/emacs-%(version)s"],
    'dirs': []
}

moduleclass = 'tools'
