easyblock = 'ConfigureMake'

name = 'LAMARC'
version = '2.1.9'
versionsuffix = '-headless'

homepage = 'http://evolution.genetics.washington.edu/lamarc/'
description = """LAMARC is a program which estimates population-genetic parameters such as population size,
 population growth rate, recombination rate, and migration rates."""

toolchain = {'name': 'ictce', 'version': '5.5.0'}

source_urls = ['http://evolution.genetics.washington.edu/lamarc/download/']
sources = ['%(namelower)s-%(version)s-src.tgz']

patches = ['LAMARC-2.1.9_Makefile-fix.patch']

configopts = "--disable-converter --disable-gui"

sanity_check_paths = {
    'files': ["bin/lamarc"],
    'dirs': [],
}

moduleclass = 'bio'
