easyblock = 'CMakeMake'

name = 'Smoldyn'
version = '2.48'

homepage = 'http://www.smoldyn.org/'
description = """Smoldyn is a computer program for cell-scale biochemical simulations. It simulates each molecule of 
interest individually to capture natural stochasticity and to yield nanometer-scale spatial resolution. It treats 
other molecules implicitly, enabling it to simulate hundreds of thousands of molecules over several minutes of real 
time. Simulated molecules diffuse, react, are confined by surfaces, and bind to membranes much as they would in a real 
biological system.
"""

toolchain = {'name': 'foss', 'version': '2016a'}

source_urls = ['http://www.smoldyn.org/']
sources = ['smoldyn-%(version)s.tgz']

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

dependencies = [
    ('LibTIFF','4.0.6'),
    ('zlib', '1.2.8'),
    ('freeglut', '3.0.0'),
    ('libXmu', '1.1.2'),
    ('libXi', '1.7.6')
]


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

moduleclass = 'bio'
