The bond given in lieu of or in addition to the punishment for abandonment or nonsupport must provide that the defendant shall furnish a spouse or child with proper food, shelter, clothing, and medical attention for such a period, not exceeding five years, as the court may order. The bond, in the discretion of the court, may be conditioned upon the payment of a specified sum of money at stated intervals.
N.D.C.C. § 14-07-20