Minors and persons of unsound mind have only such capacity as is defined by the statutes of this State.
R.L. 1910, Sec. 878.