{% set version = "1.2" %}
{% set name = "consan" %}

package:
  name: {{ name }}
  version: {{ version }}

build:
  number: 7
  run_exports:
    - {{ pin_subpackage(name, max_pin="x") }}

source:
  url: http://eddylab.org/software/consan/consan-{{ version }}.tar.gz
  sha256: c9bc9878927a2eaef54aee91be9edd6cf2d01819cba6b6165978cea08c308b24

requirements:
  build:
    - make
    - {{ compiler('c') }}

test:
  commands:
    - comppair -h
    - conus_compare -h
    - conus_train -h
    - pModel -h
    - scompare -h
    - sfold -h
    - strain_ml -h

about:
  home: "http://eddylab.org/software/consan"
  license: "GPL-2.0-or-later"
  license_family: GPL
  license_file: LICENSE
  summary: "Pairwise RNA structural alignment, both unconstrained and constrained on alignment pins."
  doc_url: "http://eddylab.org/software/consan/README"
  dev_url: "http://eddylab.org/software/consan"

extra:
  additional-platforms:
    - linux-aarch64
    - osx-arm64
