{% set name = "tRNAscan-SE" %}
{% set version = "2.0.9" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

build:
  number: 2

source:
  url: http://lowelab.ucsc.edu/software/trnascan-se-{{ version }}.tar.gz
  sha256: 566b5c8221bf90c55eb3733e1dbe67ba6b722e70e8eae3065959c0633c02002a
  patches:
    - patches/libdir.patch

requirements:
  build:
    - make
    - {{ compiler('c') }}
    - autoconf
    - automake
  host:
    - perl
  run:
    - perl
    - infernal >=1.1.2

test:
  commands:
    - tRNAscan-SE -h

about:
  home: http://lowelab.ucsc.edu/tRNAscan-SE/
  license: GPLv3
  summary: tRNA detection in large-scale genome sequence
