# IT4Innovations 2020

easyblock = 'CMakeMake'

name = 'RELION'
version = '3.1-beta'

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 local_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': 'gompi', 'version': '2019b'}
toolchainopts = {'opt': True}

sources = ['%(version)s.tar.gz']

builddependencies = [
    ('CMake', '3.16.2', '', True),
]

dependencies = [
    ('X11', '20190717', '', True),
    ('libpng', '1.6.37', '', True),
    ('FFTW', '3.3.8'),
    ('FLTK', '1.3.5', '', True),
]

separate_build_dir = True

moduleclass = 'bio'
