easyblock = 'Binary'

name = 'TRF'
version = '4.09'
versionsuffix = '-linux64'

homepage = 'https://tandem.bu.edu/trf/trf.html'
description = """Tandem repeats finder: a program to analyze DNA sequences. Legacy version."""

toolchain = {'name': 'dummy', 'version': ''}

source_urls = ['http://tandem.bu.edu/trf/downloads']
sources = ['trf%(version_major)s%(version_minor)s.legacylinux64']
checksums = [('md5', 'f97b6d1fc06adbd1484b384d5481916a')]

postinstallcmds = ["mv %(installdir)s/trf%(version_major)s%(version_minor)s.legacylinux64 %(installdir)s/trf"]

sanity_check_paths = {
    'files': ['trf'],
    'dirs': []
}

moduleclass = 'bio'
