As I have learned it, it was about the North wanting a united nation, while the South wanted independence for themselves, and the slave issue was sort of an excuse.
Slavery apart, it seems to me that the South should have been allowed to be a nation of their own.