easyblock = 'CMakeMake'

name = 'RELION'
version = '2.0.1'
commit_id = 'a6225608e270'

homepage = 'http://www2.mrc-lmb.cam.ac.uk/relion/index.php/Main_Page'
description = """RELION (for REgularised LIkelihood OptimisatioN, pronounce rely-on) is a stand-alone computer
 program that employs an empirical Bayesian approach to refinement of (multiple) 3D reconstructions or 2D class
 averages in electron cryo-microscopy (cryo-EM)."""

toolchain = {'name': 'intel', 'version': '2016b'}
toolchainopts = {'opt': True}

source_urls = ['https://bitbucket.org/tcblab/relion2-beta/get/']
sources = ['%s.tar.gz' % commit_id]

builddependencies = [
    ('CMake', '3.6.2'),
]

dependencies = [
    ('X11', '20160819'),
    ('FFTW', '3.3.5'),
    ('FLTK', '1.3.3'),
]

moduleclass = 'bio'
