{% set version = '3.4-5' %}

package:
  name: r-seqinr
  version: {{ version|replace("-", "_") }}

source:
  fn: seqinr_{{ version }}.tar.gz
  url:
    - https://cran.r-project.org/src/contrib/seqinr_{{ version }}.tar.gz
    - https://cran.r-project.org/src/contrib/Archive/seqinr/seqinr_{{ version }}.tar.gz
  sha256: 162a347495fd52cbb62e8187a4692e7c50b9fa62123c5ef98f2744c98a05fb9f

build:
  number: 0

  rpaths:
    - lib/R/lib/
    - lib/
requirements:
  build:
    - r-base
    - r-ade4
    - r-segmented
    - gcc  # [linux]
    - llvm # [osx]

  run:
    - r-base
    - r-ade4
    - r-segmented
    - libgcc # [linux]

test:
  commands:
    - $R -e "library('seqinr')"

about:
  home: http://seqinr.r-forge.r-project.org/
  license: GPL (>= 2)
  summary: Exploratory data analysis and data visualization for biological sequence (DNA and
    protein) data. Seqinr includes  utilities for sequence data management under the
    ACNUC system described in Gouy, M. et al. (1984) Nucleic Acids Res. 12:121-127 <doi:10.1093/nar/12.1Part1.121>.
  license_family: GPL3
