easyblock = 'CMakeMake'

name = 'gmsh'
version = '2.9.1'

homepage = 'http://geuz.org/gmsh'
description = """Gmsh is a 3D finite element grid generator with a build-in CAD engine and post-processor."""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = ['http://geuz.org/gmsh/src/']
sources = ['%(name)s-%(version)s-source.tgz']

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

separate_build_dir = True

configopts = '-DENABLE_FLTK=0'

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

moduleclass = 'math'
