{% set INTARNA_VERSION = "3.4.1" %}
{% set INTARNA_SHA256  = "4fd338a9a7a62f4398a27f41783120abaad9bccdecd39387c436adb0601f0ed8" %}
{% set VRNA_VERSION = "2.4.14" %}

package:
  name: intarna
  version: {{INTARNA_VERSION}}

about:
  home: https://github.com/BackofenLab/IntaRNA
  license: MIT
  summary: Efficient RNA-RNA interaction prediction incorporating seeding and accessibility of interacting sites

build:
  number: 2
  run_exports:
    - {{ pin_subpackage('intarna', max_pin="x.x") }}

source:
  url: "https://github.com/BackofenLab/IntaRNA/releases/download/v{{INTARNA_VERSION}}/intaRNA-{{INTARNA_VERSION}}.tar.gz"
  sha256: {{INTARNA_SHA256}}

requirements:
  build:
    - make
    - {{ compiler('cxx') }}
  host:
    - boost-cpp
    - zlib
    - viennarna >={{VRNA_VERSION}}*,<3
    - pkgconfig
    - doxygen
    - perl
    - llvm-openmp # [osx]
  run:
    - boost-cpp
    - llvm-openmp # [osx]
    - zlib

test:
  commands:
    - IntaRNA -h
    - IntaRNA -t CCCCCCCCGGGGGGGGGGGGGG -q CCCCCCC

extra:
  additional-platforms:
    - linux-aarch64
  identifiers:
    - biotools:intarna
    - doi:10.1093/nar/gkx279
    - doi:10.1093/bioinformatics/btn544
    - doi:10.1093/nar/gky329
  recipe-maintainers:
    - martin-raden
    - BackofenLab

