# IT4Innovations
# LK 2024

easyblock = 'ConfigureMake'

name = 'Critic2'
version = '1.1stable'

homepage = 'https://aoterodelaroza.github.io/critic2/'
description = """Critic2 is a program for the analysis of quantum mechanical
calculation results in molecules and periodic solids."""

toolchain = {'name': 'intel', 'version': '2020b'}
toolchainopts = {'extra_fflags': '-ffree-line-length-none'}

source_urls = ['https://github.com/aoterodelaroza/critic2/archive/refs/tags/']
sources = ['%(version)s.tar.gz']
checksums = ['e889fe7ca60c59e0e03f1dc27ed14dea0dc97cb63d3066a10b0ebe3e7b347042']

preconfigopts = 'autoreconf --force -i && '

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

moduleclass = 'chem'
